package com.xcy.po;

import java.util.ArrayList;
import java.util.List;

public class TUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFIdIsNull() {
            addCriterion("f_id is null");
            return (Criteria) this;
        }

        public Criteria andFIdIsNotNull() {
            addCriterion("f_id is not null");
            return (Criteria) this;
        }

        public Criteria andFIdEqualTo(String value) {
            addCriterion("f_id =", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdNotEqualTo(String value) {
            addCriterion("f_id <>", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdGreaterThan(String value) {
            addCriterion("f_id >", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdGreaterThanOrEqualTo(String value) {
            addCriterion("f_id >=", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdLessThan(String value) {
            addCriterion("f_id <", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdLessThanOrEqualTo(String value) {
            addCriterion("f_id <=", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdLike(String value) {
            addCriterion("f_id like", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdNotLike(String value) {
            addCriterion("f_id not like", value, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdIn(List<String> values) {
            addCriterion("f_id in", values, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdNotIn(List<String> values) {
            addCriterion("f_id not in", values, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdBetween(String value1, String value2) {
            addCriterion("f_id between", value1, value2, "fId");
            return (Criteria) this;
        }

        public Criteria andFIdNotBetween(String value1, String value2) {
            addCriterion("f_id not between", value1, value2, "fId");
            return (Criteria) this;
        }

        public Criteria andFCodeIsNull() {
            addCriterion("f_code is null");
            return (Criteria) this;
        }

        public Criteria andFCodeIsNotNull() {
            addCriterion("f_code is not null");
            return (Criteria) this;
        }

        public Criteria andFCodeEqualTo(String value) {
            addCriterion("f_code =", value, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeNotEqualTo(String value) {
            addCriterion("f_code <>", value, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeGreaterThan(String value) {
            addCriterion("f_code >", value, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeGreaterThanOrEqualTo(String value) {
            addCriterion("f_code >=", value, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeLessThan(String value) {
            addCriterion("f_code <", value, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeLessThanOrEqualTo(String value) {
            addCriterion("f_code <=", value, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeLike(String value) {
            addCriterion("f_code like", value, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeNotLike(String value) {
            addCriterion("f_code not like", value, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeIn(List<String> values) {
            addCriterion("f_code in", values, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeNotIn(List<String> values) {
            addCriterion("f_code not in", values, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeBetween(String value1, String value2) {
            addCriterion("f_code between", value1, value2, "fCode");
            return (Criteria) this;
        }

        public Criteria andFCodeNotBetween(String value1, String value2) {
            addCriterion("f_code not between", value1, value2, "fCode");
            return (Criteria) this;
        }

        public Criteria andFPasswordIsNull() {
            addCriterion("f_password is null");
            return (Criteria) this;
        }

        public Criteria andFPasswordIsNotNull() {
            addCriterion("f_password is not null");
            return (Criteria) this;
        }

        public Criteria andFPasswordEqualTo(String value) {
            addCriterion("f_password =", value, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordNotEqualTo(String value) {
            addCriterion("f_password <>", value, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordGreaterThan(String value) {
            addCriterion("f_password >", value, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("f_password >=", value, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordLessThan(String value) {
            addCriterion("f_password <", value, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordLessThanOrEqualTo(String value) {
            addCriterion("f_password <=", value, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordLike(String value) {
            addCriterion("f_password like", value, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordNotLike(String value) {
            addCriterion("f_password not like", value, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordIn(List<String> values) {
            addCriterion("f_password in", values, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordNotIn(List<String> values) {
            addCriterion("f_password not in", values, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordBetween(String value1, String value2) {
            addCriterion("f_password between", value1, value2, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFPasswordNotBetween(String value1, String value2) {
            addCriterion("f_password not between", value1, value2, "fPassword");
            return (Criteria) this;
        }

        public Criteria andFNameIsNull() {
            addCriterion("f_name is null");
            return (Criteria) this;
        }

        public Criteria andFNameIsNotNull() {
            addCriterion("f_name is not null");
            return (Criteria) this;
        }

        public Criteria andFNameEqualTo(String value) {
            addCriterion("f_name =", value, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameNotEqualTo(String value) {
            addCriterion("f_name <>", value, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameGreaterThan(String value) {
            addCriterion("f_name >", value, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameGreaterThanOrEqualTo(String value) {
            addCriterion("f_name >=", value, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameLessThan(String value) {
            addCriterion("f_name <", value, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameLessThanOrEqualTo(String value) {
            addCriterion("f_name <=", value, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameLike(String value) {
            addCriterion("f_name like", value, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameNotLike(String value) {
            addCriterion("f_name not like", value, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameIn(List<String> values) {
            addCriterion("f_name in", values, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameNotIn(List<String> values) {
            addCriterion("f_name not in", values, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameBetween(String value1, String value2) {
            addCriterion("f_name between", value1, value2, "fName");
            return (Criteria) this;
        }

        public Criteria andFNameNotBetween(String value1, String value2) {
            addCriterion("f_name not between", value1, value2, "fName");
            return (Criteria) this;
        }

        public Criteria andFTimeIsNull() {
            addCriterion("f_time is null");
            return (Criteria) this;
        }

        public Criteria andFTimeIsNotNull() {
            addCriterion("f_time is not null");
            return (Criteria) this;
        }

        public Criteria andFTimeEqualTo(String value) {
            addCriterion("f_time =", value, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeNotEqualTo(String value) {
            addCriterion("f_time <>", value, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeGreaterThan(String value) {
            addCriterion("f_time >", value, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeGreaterThanOrEqualTo(String value) {
            addCriterion("f_time >=", value, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeLessThan(String value) {
            addCriterion("f_time <", value, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeLessThanOrEqualTo(String value) {
            addCriterion("f_time <=", value, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeLike(String value) {
            addCriterion("f_time like", value, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeNotLike(String value) {
            addCriterion("f_time not like", value, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeIn(List<String> values) {
            addCriterion("f_time in", values, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeNotIn(List<String> values) {
            addCriterion("f_time not in", values, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeBetween(String value1, String value2) {
            addCriterion("f_time between", value1, value2, "fTime");
            return (Criteria) this;
        }

        public Criteria andFTimeNotBetween(String value1, String value2) {
            addCriterion("f_time not between", value1, value2, "fTime");
            return (Criteria) this;
        }

        public Criteria andFPermissionIsNull() {
            addCriterion("f_permission is null");
            return (Criteria) this;
        }

        public Criteria andFPermissionIsNotNull() {
            addCriterion("f_permission is not null");
            return (Criteria) this;
        }

        public Criteria andFPermissionEqualTo(String value) {
            addCriterion("f_permission =", value, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionNotEqualTo(String value) {
            addCriterion("f_permission <>", value, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionGreaterThan(String value) {
            addCriterion("f_permission >", value, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionGreaterThanOrEqualTo(String value) {
            addCriterion("f_permission >=", value, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionLessThan(String value) {
            addCriterion("f_permission <", value, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionLessThanOrEqualTo(String value) {
            addCriterion("f_permission <=", value, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionLike(String value) {
            addCriterion("f_permission like", value, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionNotLike(String value) {
            addCriterion("f_permission not like", value, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionIn(List<String> values) {
            addCriterion("f_permission in", values, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionNotIn(List<String> values) {
            addCriterion("f_permission not in", values, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionBetween(String value1, String value2) {
            addCriterion("f_permission between", value1, value2, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFPermissionNotBetween(String value1, String value2) {
            addCriterion("f_permission not between", value1, value2, "fPermission");
            return (Criteria) this;
        }

        public Criteria andFIspassIsNull() {
            addCriterion("f_ispass is null");
            return (Criteria) this;
        }

        public Criteria andFIspassIsNotNull() {
            addCriterion("f_ispass is not null");
            return (Criteria) this;
        }

        public Criteria andFIspassEqualTo(String value) {
            addCriterion("f_ispass =", value, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassNotEqualTo(String value) {
            addCriterion("f_ispass <>", value, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassGreaterThan(String value) {
            addCriterion("f_ispass >", value, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassGreaterThanOrEqualTo(String value) {
            addCriterion("f_ispass >=", value, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassLessThan(String value) {
            addCriterion("f_ispass <", value, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassLessThanOrEqualTo(String value) {
            addCriterion("f_ispass <=", value, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassLike(String value) {
            addCriterion("f_ispass like", value, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassNotLike(String value) {
            addCriterion("f_ispass not like", value, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassIn(List<String> values) {
            addCriterion("f_ispass in", values, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassNotIn(List<String> values) {
            addCriterion("f_ispass not in", values, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassBetween(String value1, String value2) {
            addCriterion("f_ispass between", value1, value2, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFIspassNotBetween(String value1, String value2) {
            addCriterion("f_ispass not between", value1, value2, "fIspass");
            return (Criteria) this;
        }

        public Criteria andFBzIsNull() {
            addCriterion("f_bz is null");
            return (Criteria) this;
        }

        public Criteria andFBzIsNotNull() {
            addCriterion("f_bz is not null");
            return (Criteria) this;
        }

        public Criteria andFBzEqualTo(String value) {
            addCriterion("f_bz =", value, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzNotEqualTo(String value) {
            addCriterion("f_bz <>", value, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzGreaterThan(String value) {
            addCriterion("f_bz >", value, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzGreaterThanOrEqualTo(String value) {
            addCriterion("f_bz >=", value, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzLessThan(String value) {
            addCriterion("f_bz <", value, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzLessThanOrEqualTo(String value) {
            addCriterion("f_bz <=", value, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzLike(String value) {
            addCriterion("f_bz like", value, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzNotLike(String value) {
            addCriterion("f_bz not like", value, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzIn(List<String> values) {
            addCriterion("f_bz in", values, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzNotIn(List<String> values) {
            addCriterion("f_bz not in", values, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzBetween(String value1, String value2) {
            addCriterion("f_bz between", value1, value2, "fBz");
            return (Criteria) this;
        }

        public Criteria andFBzNotBetween(String value1, String value2) {
            addCriterion("f_bz not between", value1, value2, "fBz");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}